package com.exam.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
/**
 * @ClassName Replay
 * @Description TODO
 * @author XueWanglin
 * @Date 2021/1/11 20:15
 * @Version 1.0
 */

public class Replay {
    private Integer replayid;

    private Integer messageid;

    private String replay;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date replaytime;

    public Integer getReplayid() {
        return replayid;
    }

    public void setReplayid(Integer replayid) {
        this.replayid = replayid;
    }

    public Integer getMessageid() {
        return messageid;
    }

    public void setMessageid(Integer messageid) {
        this.messageid = messageid;
    }

    public String getReplay() {
        return replay;
    }

    public void setReplay(String replay) {
        this.replay = replay == null ? null : replay.trim();
    }

    public Date getReplaytime() {
        return replaytime;
    }

    public void setReplaytime(Date replaytime) {
        this.replaytime = replaytime;
    }
}